// Fill out your copyright notice in the Description page of Project Settings.

#pragma once

#include "CoreMinimal.h"
#include "Kismet/BlueprintFunctionLibrary.h"
#include "GConfigFunctionLibrary.generated.h"

/**
 * 
 */
UCLASS()
class SGAME_API UGConfigFunctionLibrary : public UBlueprintFunctionLibrary
{
	GENERATED_BODY()
public:
	//获取数据库IP
	UFUNCTION(BlueprintCallable)
	static FString GetDBServerIP();

	//获取数据库端口
	UFUNCTION(BlueprintCallable)
		static FString GetDBServerPort();

	//获取登录服务器IP
	UFUNCTION(BlueprintCallable)
		static FString GetGameLoginServer();

	//获取登录服务器端口
	UFUNCTION(BlueprintCallable)
		static FString GetGameLoginPort();
	
	//获取游戏服务器IP
	UFUNCTION(BlueprintCallable)
		static FString GetGameServer();

	//获取游戏服务器端口
	UFUNCTION(BlueprintCallable)
		static FString GetGamePort();

};
